/**
 * Copyright (C), 2015-2018, XXX有限公司
 * FileName: IMailService
 * Author:   zhouheng
 * Date:     2018/7/29 13:01
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */

package com.hengby.hengcrud.modular.mail.service;

import com.hengby.hengcrud.modular.mail.model.Email;

import javax.mail.MessagingException;
import java.util.List;
import java.util.Map;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author zhouheng
 * @create 2018/7/29
 * @since 1.0.0
 */
public interface IMailService{
    void sendFreemarker(Email email) throws MessagingException, Exception;

    List<Map<String,Object>> findAll();
}
